<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<!doctype html>
<html lang="zh">
<head>
    <title>修改密码</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/permission/user/updatePassword.js"></script>
</head>
<body>
<div class="form-wrap">
    <form id="form_user" method="post">
        <div class="input-wrap">
            <label class="label-top">用户名:</label>
            <input class="easyui-textbox" type="text" name="name" value="${name}" readonly style="width: 360px">
        </div>
        <div class="input-wrap">
            <label class="label-top">当前密码:</label>
            <input class="easyui-textbox" type="password" name="password" data-options="required:true" id="password" style="width: 360px">
        </div>
        <div class="input-wrap">
            <label class="label-top">新密码:</label>
            <input class="easyui-textbox" type="password" name="newPassword" data-options="required:true" id="newPassword" style="width: 360px">
        </div>
        <div class="input-wrap">
            <label class="label-top">重复密码:</label>
            <input class="easyui-textbox" type="password" data-options="required:true" validType="equals['#newPassword']" id="againPassword" style="width: 360px">
            <label style="display:none;color: red" id="pwd_err">两次密码输入不相同！</label>
        </div>

    </form>
    <div class="form-button">
        <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'fa fa-save fa-lg'">保存</a>
    </div>
</div>
</body>
</html>
